package com.plum.admin.modules.youeorder.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.plum.admin.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 子丶沫
 * @since 2021-08-17
 */
@Data
@Accessors(chain = true)
@TableName("sys_office_rate_conf")
@ApiModel(value="SysOfficeRateConf对象", description="")
public class SysOfficeRateConf implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;
    @ApiModelProperty(value = "机构ID")
    @TableField("office_id")
    private Integer officeId;

    @TableField(exist = false)
    private String officeName;

    @ApiModelProperty(value = "平台抽成")
    @TableField("platform")
    private BigDecimal platform;

    @ApiModelProperty(value = "司机抽成")
    @TableField("driver")
    private BigDecimal driver;

    @ApiModelProperty(value = "运力公司抽成")
    @TableField("transport_company")
    private BigDecimal transportCompany;

    @ApiModelProperty(value = "上级公司抽成集合")
    @TableField("others_company")
    private String othersCompany;

    @ApiModelProperty(value = "滴滴抽成")
    @TableField("didi_company")
    private BigDecimal didiCompany;

    @ApiModelProperty(value = "携程抽成")
    @TableField("xc_company")
    private BigDecimal xcCompany;

    @ApiModelProperty(value = "类型 0 自营 1 有车 2 无车")
    @TableField("type")
    private String type;

    @ApiModelProperty(value = "同程抽成")
    @TableField("tc_company")
    private BigDecimal tcCompany;


}
